package com.competition.login.service;

import com.competition.commonutils.R;
import com.competition.login.entity.User;
import com.competition.login.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-02-19
 */
public interface UserService extends IService<User> {

    R login(User user);

    R register(RegisterVo registerVo);

    User getOpenIdMember(String openid);

    Integer countRegisterByDay(String day);
}
